<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*"%>
 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <div style="width:100%;margin:0px auto;text-align:center">
 <style>
table,td,th{border:1px solid black;padding:15px;}
table{width:100%;font-size:25px;}
th{height:50px;text-shadow: 5px 5px 5px #FFFF00;font-size:35px;}
td{text-align:center}
a{font-size:25px;}
</style>
<table align='center' border='1' cellspacing='0'>
    <tr>
        <th>id</th>
        <th>name</th>
        <th>id+name</th>
    </tr>
    <c:forEach items="${cs}" var="c" varStatus="st">
        <tr>
            <td>${c.id}</td>
            <td>${c.name}</td>
            <td>${c.id}__${c.name}</td>
            <td><a href="delete?id=${c.id}">删除</a></td>
              
        </tr>
    </c:forEach>
</table>
<div style="text-alige:center" id="main">
	<a href="?start=0">首页</a>
	<a id="main1" href="?start=${page.start-page.count}">上一页</a>
	<a href="?start=${page.start+page.count}">下一页</a>
	<a href="?start=${page.last}">尾页</a>
</div>
</div>